<?php

class Point {

    private $id;
    private $name;
    private $x;
    private $y;

    
    public function setName($name){
        $this->name = $name;
    }
    
    public function getName(){
        return $this->name;
    }    
    
    public function setId($id){
        $this->id = $id;
    }
    
    public function getId(){
        return $this->id;
    }
    
    public function setX($x) {
        $this->x = $x;
    }

    public function setY($y) {
        $this->y = $y;
    }

    public function getX() {
        return $this->x;
    }

    public function getY() {
        return $this->y;
    }

}

?>
